package com.byzk.p2p.admin.fuiou.dto;

/**
 * 开户请求参数
 * @author suker
 *
 */
public class RegisterDto {

	//商户号
	private String mchnt_cd;
	//流水号
	private String mchnt_txn_ssn;
	//客户姓名
	private String cust_nm;
	//证件号类型(0代表身份证)
	private String certif_tp="0";
	//身份证号码
	private String certif_id;
	//手机号码
	private String mobile_no;
	//邮箱
	private String email;
	//开户行地区代码
	private String city_id;
	//开户行行别
	private String parent_bank_id;
	//开户行支行名称
	private String bank_nm;
	//户名
	private String capAcntNm;
	//银行卡号
	private String capAcntNo;
	//提现密码
	private String password;
	//登录密码
	private String lpassword;
	//备注
	private String rem;
	//签名参数
	private String signature;
	
	public String getMchnt_cd() {
		return mchnt_cd;
	}
	public void setMchnt_cd(String mchnt_cd) {
		this.mchnt_cd = mchnt_cd;
	}
	public String getMchnt_txn_ssn() {
		return mchnt_txn_ssn;
	}
	public void setMchnt_txn_ssn(String mchnt_txn_ssn) {
		this.mchnt_txn_ssn = mchnt_txn_ssn;
	}
	public String getCust_nm() {
		return cust_nm;
	}
	public void setCust_nm(String cust_nm) {
		this.cust_nm = cust_nm;
	}
	public String getCertif_tp() {
		return certif_tp;
	}
	public void setCertif_tp(String certif_tp) {
		this.certif_tp = certif_tp;
	}
	public String getCertif_id() {
		return certif_id;
	}
	public void setCertif_id(String certif_id) {
		this.certif_id = certif_id;
	}
	public String getMobile_no() {
		return mobile_no;
	}
	public void setMobile_no(String mobile_no) {
		this.mobile_no = mobile_no;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCity_id() {
		return city_id;
	}
	public void setCity_id(String city_id) {
		this.city_id = city_id;
	}
	public String getParent_bank_id() {
		return parent_bank_id;
	}
	public void setParent_bank_id(String parent_bank_id) {
		this.parent_bank_id = parent_bank_id;
	}
	public String getBank_nm() {
		return bank_nm;
	}
	public void setBank_nm(String bank_nm) {
		this.bank_nm = bank_nm;
	}
	public String getCapAcntNm() {
		return capAcntNm;
	}
	public void setCapAcntNm(String capAcntNm) {
		this.capAcntNm = capAcntNm;
	}
	public String getCapAcntNo() {
		return capAcntNo;
	}
	public void setCapAcntNo(String capAcntNo) {
		this.capAcntNo = capAcntNo;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getLpassword() {
		return lpassword;
	}
	public void setLpassword(String lpassword) {
		this.lpassword = lpassword;
	}
	public String getRem() {
		return rem;
	}
	public void setRem(String rem) {
		this.rem = rem;
	}
	public String getSignature() {
		return signature;
	}
	public void setSignature(String signature) {
		this.signature = signature;
	}
	
	/**
	 * 注册时请求的明文
	 * @return
	 */
	public String regSignVal(){
		String src = bank_nm+"|"+capAcntNm+"|"
		+capAcntNo+"|"+certif_id+"|"+city_id+"|"+cust_nm+"|"
		+email+"|"+lpassword+"|"+mchnt_cd+"|"+mchnt_txn_ssn+"|"
		+mobile_no+"|"+parent_bank_id+"|"+password+"|"+rem;
		return src;
	}
}
